set(test_SRC
    test_main.cpp
    core/test_flexe_group.cpp
    core/serialize/test_serializer.cpp
    dto/test_dto_mtu.cpp
    infra/test_result.cpp
    infra/test_hash.cpp
    infra/test_intrusive_ptr.cpp
    infra/test_allocator.cpp
    infra/test_endian.cpp
    infra/test_file_path.cpp
    infra/test_domain_error.cpp
    infra/test_thread.cpp
    infra/test_udf_allocator.cpp
    infra/stl/test_stl_containers.cpp
    infra/event/test_broker.cpp
    fg/test_fgpipe.cpp)

add_executable(test_${PROJECT_NAME} ${test_SRC})
target_compile_definitions(test_${PROJECT_NAME} PRIVATE CATCH_CONFIG_ENABLE_BENCHMARKING LIBFLEXE_ENDIAN_LE)
target_include_directories(test_${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_link_libraries(test_${PROJECT_NAME} ${PROJECT_NAME})
